package com.open.capacity.user.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.open.capacity.common.model.SysResume;
import org.apache.ibatis.annotations.*;

import javax.websocket.server.ServerEndpoint;
import java.util.List;
import java.util.Map;
@Mapper
public interface SysResumeDao extends BaseMapper<SysResume> {


    @Options(useGeneratedKeys = true, keyProperty = "id")
    int save(SysResume sysResume);

    int deleteByPrimaryKey(Long id);

    int updateByPrimaryKey(SysResume sysResume);

    int count(Map<String, Object> params);

    List<SysResume> findList(Map<String, Object> params);

    SysResume findById(String id);
}
